import { stringify } from 'qs';
import request from '../utils/request';

export async function certificateDelete(params) {
  return request.post(`/mspki/ecu/certificate/delete`, {
    data: params,
  });
}
export async function findEcuCertStatus(params) {
  return request.post(`/mspki/ecu/certificate/findEcuCertStatus`, {
    data: params,
  });
}
export async function findEcuPlanByIdAndType({...params}) {
  return request.get(`/dms/ecuPlan/findEcuPlanByIdAndType`, {
    params
  });
}
export async function ecuInPlan({...params}) {
  return request.get(`/dms/ecuPlan/inPlan`, {
    params
  });
}